package com.qf.efserver.user.personaldata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.common.core.entity.UsersWeight;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UsersWeightMapper extends BaseMapper<UsersWeight> {
    List<UsersWeight> selectWeights(Integer uid);
    void update(@Param("uid")Integer uid, @Param("weight")double weight, @Param("createTime")Date createTime);
    void updateWeekTime(@Param("weekTime")Integer weekTime,@Param("uid")Integer uid,@Param("createTime")Date createTime);
    UsersWeight selectByUidAndCreateTime(@Param("uid")Integer uid,@Param("createTime")Date createTime);
}
